import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { ShareModule } from '../../cores/share.module';

/*路由模块*/
import { InventoryRoutingModule, declarationComponents, entryComponents } from './inventory.routing';

/*服务列表*/
import { InventoryService } from './services/inventory.service';
import { AccountService } from './services/account.service';
import { ModalCostComponent } from './pages/inventory-table/modalcost.component';
import { ModalAccontComponent } from './pages/account-table/modalaccount.component';
import { ModalpicetComponent } from './pages/price-table/modalpice.component';
import { ModalclosedtComponent } from './pages/closed-table/modalclosed.component';
import { ModalpayComponent } from './pages/pay-table/modalpay.component';


@NgModule({
    imports: [
        FormsModule,
        ShareModule,
        InventoryRoutingModule,
    ],
    declarations: [
        declarationComponents,
        ModalCostComponent,
        ModalAccontComponent,
        ModalpicetComponent,
        ModalclosedtComponent,
        ModalpayComponent
    ],
    entryComponents: [
        entryComponents,
        ModalCostComponent,
        ModalAccontComponent,
        ModalpicetComponent,
        ModalclosedtComponent,
        ModalpayComponent
    ],
    providers: [
        InventoryService,
        AccountService,
    ]

})
export class InventoryModule { }
